package com.ndp.fb.walle.model.bo.connectionobject;


import com.ndp.fb.walle.annotation.Exclusion;
import com.ndp.fb.walle.model.bo.productconfiguration.result.ProductConfigurationBo;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * Created by Sisi on 14-10-25.
 */
@Setter
@Getter
@NoArgsConstructor
public class ConnObjectProductConfigBo {
    /**
     * id
     */
    private Long id;

    /**
     * fbConnectionObjectId:FB上抓到的应用I唯一
     */
    private Long fbConnectionObjectId;

    /**
     * type
     * 1：Page
     * 2：Application
     * 3：Events
     * 6：Place
     * 7：Domains
     */
    private Integer type;

    /**
     * name
     */
    private String name;

    /**
     * nativeAppStoreIds
     */
    private String nativeAppStoreIds;

    /**
     * nativeAppTargetingIds
     */
    private String nativeAppTargetingIds;

    /**
     * picture
     */
    private String picture;

    /**
     * supportedPlatforms
     */
    private String supportedPlatforms;

    /**
     * objectStoreUrls
     */
    private String objectStoreUrls;

    /**
     * url
     */
    private String url;
    /**
     * logoUrl
     */
    private String logoUrl;

    /**
     * iconUrl
     */
    private String iconUrl;

    /**
     * add by evan 区分外链产品
     */
    private String productType;

    @Exclusion
    private List<ProductConfigurationBo> configurations;

    public ConnObjectProductConfigBo(Long id, Long fbConnectionObjectId, Integer type, String name,
                                     String nativeAppStoreIds, String nativeAppTargetingIds, String picture, String supportedPlatforms,
                                     String objectStoreUrls, String url, String logoUrl, String iconUrl, List<ProductConfigurationBo> configurations) {
        this.id = id;
        this.fbConnectionObjectId = fbConnectionObjectId;
        this.type = type;
        this.name = name;
        this.nativeAppStoreIds = nativeAppStoreIds;
        this.nativeAppTargetingIds = nativeAppTargetingIds;
        this.picture = picture;
        this.supportedPlatforms = supportedPlatforms;
        this.objectStoreUrls = objectStoreUrls;
        this.url = url;
        this.logoUrl = logoUrl;
        this.iconUrl = iconUrl;
        this.configurations = configurations;
    }

}
